
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;

public final class PatternsForDEFCommandsAndLiterals {

	public static final List<PatternMethod> list = Arrays.asList(

		new PatternMethod(Pattern.compile("\\[\\("), "convertIfToXSL", "getIfVariables"),									//done
		new PatternMethod(Pattern.compile("\\[\\$[Ll][Oo][Oo][Pp]:"), "convertLoopToXSL", "getLoopVariables"),				
		new PatternMethod(Pattern.compile("@[Ll][Ee][Nn]\\("), "convertLenToXSL", "getLenVariables"), 						//done
		new PatternMethod(Pattern.compile("@[Cc][Uu][Tt]\\("), "convertCutToXSL", "getCutVariables"),						//done
		new PatternMethod(Pattern.compile("@[Ff][Mm][Tt]\\("), "convertFmtToXSL", "getFmtVariables"),						//done
		new PatternMethod(Pattern.compile("@[Nn][Uu][Ll][Ll]"), "convertNullToXSL", ""),					
		new PatternMethod(Pattern.compile("@[Mm][Aa][Tt][Hh]\\("), "convertMathToXSL", "getMathVariables"),					//done			
		new PatternMethod(Pattern.compile("@[Pp][Aa][Dd][Rr]\\("), "convertPadrToXSL", "getPadrVariables"),					//done
		new PatternMethod(Pattern.compile("@[Pp][Aa][Dd][Ll]\\("), "convertPadlToXSL", "getPadlVariables"),					//done
		new PatternMethod(Pattern.compile("@[Dd][Aa][Tt][Ee][Mm][Aa][Tt][Hh]\\("), "convertDateMathToXSL", "getDateMathVariables"), //done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}:\\d{1,4}"), "convertA_xToXSL", ""),									//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}\\d{1,4}:\\d{1,4}"), "convertAx_xToXSL", ""),						//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}:[A-Za-z]{2}:\\d{1,4}"), "convertA_A_xToXSL", ""),					//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}\\d{1,4}:[A-Za-z]{2}:\\d{1,4}"), "convertAx_A_xToXSL", ""),			//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}:[A-Za-z]{2}\\d{1,4}:\\d{1,4}"), "convertA_Ax_xToXSL", ""),			//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}\\d{1,4}:[A-Za-z]{2}\\d{1,4}:\\d{1,4}"), "convertAx_Ax_xToXSL", ""),	//done
		new PatternMethod(Pattern.compile("@[A-Za-z]{2}\\$:\\d{1,4}"), "convertLoopVariableToXSL", ""),						//done			
		new PatternMethod(Pattern.compile("[^@\\(\\[\\]\\)]+"), "convertLiteralToXSL", "")									//done
		
		
		
	);

}
